package com.tb.Service;

import com.tb.DTO.ResetPasswordDTO;
import com.tb.DTO.userDTO;
import com.tb.entity.user;

import javax.security.auth.login.AccountNotFoundException;
import java.util.List;

public interface UserService {
    user login(userDTO userDTO) throws AccountNotFoundException;

    void register(userDTO userDTO);

    void resetPassword(ResetPasswordDTO resetPasswordDTO);

    user getById(Long id);

    List<user> getUserList();
}
